package com.lapian.designmode.observer.improve.test.improveF;

/**
 * 创建日期：2022/5/31 0031 16:23
 *
 * @author tony.sun
 * 类说明：
 */
public class TangSangAppF extends ObserverF{
    private String name;

    public TangSangAppF(String name) {
        this.name=name;
    }

    @Override
    void user(String type) {
        System.out.println(name+"天气为"+type);
    }
}
